package system.bean;

import java.util.Date;
import java.util.LinkedHashSet;

public class UserState {
	
	private Integer userID = null;
	private Date lastActiveTime = null;
	private String activeIP = null;
	private String tokenID = null;
	
	//private List<Message> messagelist = new ArrayList<Message>();
	private LinkedHashSet<Message> messagelist = new LinkedHashSet<Message>();
	
	public Integer getUserID() {
		return userID;
	}
	public void setUserID(Integer userID) {
		this.userID = userID;
	}
	public Date getLastActiveTime() {
		return lastActiveTime;
	}
	public void setLastActiveTime(Date lastActiveTime) {
		this.lastActiveTime = lastActiveTime;
	}

	public String getActiveIP() {
		return activeIP;
	}
	public void setActiveIP(String activeIP) {
		this.activeIP = activeIP;
	}
	public String getTokenID() {
		return tokenID;
	}
	public void setTokenID(String tokenID) {
		this.tokenID = tokenID;
	}
	public LinkedHashSet<Message> getMessagelist() {
		return messagelist;
	}
	public void setMessagelist(LinkedHashSet<Message> messagelist) {
		this.messagelist = messagelist;
	}


}
